<extend name="template:common" />
<block name="js">
    <!--引入datajs控件-->
    <script src="__DATAJS__/WdatePicker.js"></script>
</block>
<block name="main">
    <h1>
        <span class="action-span1"><a href="{:U('index')}">文章分类</a></span>
        <span id="search_id" class="action-span1"> - {$meta_title} </span>
        <div style="clear:both"></div>
    </h1>
    <div class="main-div">
        <form method="post" action="{:U()}"enctype="multipart/form-data" >
            <table cellspacing="1" cellpadding="3" width="100%">
                <tr>
                    <td class="label">文章名称</td>
                    <td>
                        <input type="text" name="name" maxlength="60" value="" />
                        <span class="require-field">*</span>
                    </td>
                </tr>
                <tr>
                    <td class="label">文章分类</td>
                    <td>
                        <select name="article_category_id">
                            <foreach name="ArticleCategory" item="row">
                                <option value="{$row[id]}">{$row['name']}</option>
                            </foreach>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="label">文章简介</td>
                    <td>
                        <textarea  name="intro" cols="50" rows="1"  ></textarea>
                    </td>
                </tr>
                <tr>
                    <td class="label">文章内容</td>
                    <td>
                        <textarea  name="content" cols="60" rows="5"  ></textarea>
                    </td>
                </tr>
                <tr>
                    <td class="label">排序</td>
                    <td>
                        <input type="text" name="sort" maxlength="40" size="15" value="" />
                    </td>
                </tr>
                <tr>
                    <td class="label">是否显示</td>
                    <td>
                        <input type="radio" name="status" value="1" checked="checked" /> 是
                        <input type="radio" name="status" value="0"  /> 否
                    </td>
                </tr>
                <tr>
                    <td class="label">选择发布时间</td>
                    <td><input name="inputtime" type="text" onclick="WdatePicker()"></td>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><br />
                        <input type="submit" class="button" value=" 确定 " />
                        <input type="reset" class="button" value=" 重置 " />
                    </td>
                </tr>
            </table>
        </form>
    </div>
</block>
